//
//  AnimeTableViewCell.m
//  OtakuWorld
//
//  Created by iOS Two on 14-9-28.
//  Copyright (c) 2014年 iOS Two. All rights reserved.
//

#import "AnimeTableViewCell.h"

@implementation AnimeTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _image = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 75, 75)];
        [self addSubview:_image];
        
        _name = [[UILabel alloc]initWithFrame:CGRectMake(100, 37.5, 200, 25)];
        _name.font = [UIFont systemFontOfSize:20];
        [self addSubview:_name];
        
        UIImageView *arrow = [[UIImageView alloc]initWithFrame:CGRectMake(290, 37.5, 11, 20)];
        arrow.image = [UIImage imageNamed:@"arrow_03"];
        [self addSubview:arrow];
        
        UIImageView *line = [[UIImageView alloc]initWithFrame:CGRectMake(10, 94, 310, 1)];
        line.backgroundColor = [UIColor colorWithRed:0.89 green:0.89 blue:0.9 alpha:1];
        [self addSubview:line];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
